/*
 Navicat Premium Data Transfer

 Source Server         : root
 Source Server Type    : MySQL
 Source Server Version : 80028
 Source Host           : localhost:3306
 Source Schema         : REDIS_DB

 Target Server Type    : MySQL
 Target Server Version : 80028
 File Encoding         : 65001

 Date: 14/08/2022 15:54:02
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_dict
-- ----------------------------
DROP TABLE IF EXISTS `t_dict`;
CREATE TABLE `t_dict` (
  `dict_type` varchar(20) COLLATE utf8mb4_general_ci NOT NULL,
  `dict_code` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `dict_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `dict_desc` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  UNIQUE KEY `index2_dict` (`dict_type`,`dict_code`) USING BTREE,
  KEY `index_dict` (`dict_type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of t_dict
-- ----------------------------
BEGIN;
INSERT INTO `t_dict` (`dict_type`, `dict_code`, `dict_name`, `dict_desc`) VALUES ('ACTION_FLAG', '1', '系统', '操作标志');
INSERT INTO `t_dict` (`dict_type`, `dict_code`, `dict_name`, `dict_desc`) VALUES ('ACTION_FLAG', '2', '人工', '操作标志');
INSERT INTO `t_dict` (`dict_type`, `dict_code`, `dict_name`, `dict_desc`) VALUES ('SYS_STATS', '0', '待生效', '系统状态');
INSERT INTO `t_dict` (`dict_type`, `dict_code`, `dict_name`, `dict_desc`) VALUES ('SYS_STATS', '1', '有效', '系统状态');
INSERT INTO `t_dict` (`dict_type`, `dict_code`, `dict_name`, `dict_desc`) VALUES ('SYS_STATS', '2', '作废', '系统状态');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
